package com.yike.user.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.yike.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 代理商分佣统计
 *
 * @author Sakura
 * @since 2024-11-13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_agent_count")
@ApiModel(value = "AgentCount对象")
public class AgentCount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("代理商id")
    private Long agentId;

    @ApiModelProperty("统计日期")
    private Date countDate;

    @ApiModelProperty("营业额")
    private BigDecimal totalAmount;

    @ApiModelProperty("实收")
    private BigDecimal actualAmount;

    @ApiModelProperty("分佣金额")
    private BigDecimal commissionAmount;

    @ApiModelProperty("状态：1已结算 0未结算")
    private Integer status;

}
